package com.ruoyi.project.mahjong.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 交班记录对象 t_work
 *
 * @author ruoyi
 * @date 2023-11-15
 */
@Data
public class TWork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预留3 */
    @Excel(name = "预留3")
    private String bak3;

    /** 预留2 */
    @Excel(name = "预留2")
    private String bak2;

    /** 预留1 */
    @Excel(name = "预留1")
//    预留1 使用为店铺id
    private String bak1;

    /** 下班时间 */
    @Excel(name = "下班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date xbTime;

    /** 上班时间 */
    @Excel(name = "上班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sbTime;

    /** 余留金额 */
    @Excel(name = "余留金额")
    private Long remainingMoney;

    /** 上交金额 */
    @Excel(name = "上交金额")
    private Long deliverMoney;

    /** 初始金额 */
    @Excel(name = "初始金额")
    private Long initMoney;

    /** 员工id */
    @Excel(name = "员工id")
    private Long staffId;

    private String cashMoney;

    private String scanMoney;

    private String outMoney;

    private String allMoney;

    private String otherMoney;

    private BigDecimal sendMoney;

    private BigDecimal refendMoney;


    /** id */
    private Long id;

    public void setBak3(String bak3)
    {
        this.bak3 = bak3;
    }

    public String getBak3()
    {
        return bak3;
    }
    public void setBak2(String bak2)
    {
        this.bak2 = bak2;
    }

    public String getBak2()
    {
        return bak2;
    }
    public void setBak1(String bak1)
    {
        this.bak1 = bak1;
    }

    public String getBak1()
    {
        return bak1;
    }
    public void setXbTime(Date xbTime)
    {
        this.xbTime = xbTime;
    }

    public Date getXbTime()
    {
        return xbTime;
    }
    public void setSbTime(Date sbTime)
    {
        this.sbTime = sbTime;
    }

    public Date getSbTime()
    {
        return sbTime;
    }
    public void setRemainingMoney(Long remainingMoney)
    {
        this.remainingMoney = remainingMoney;
    }

    public Long getRemainingMoney()
    {
        return remainingMoney;
    }
    public void setDeliverMoney(Long deliverMoney)
    {
        this.deliverMoney = deliverMoney;
    }

    public Long getDeliverMoney()
    {
        return deliverMoney;
    }
    public void setInitMoney(Long initMoney)
    {
        this.initMoney = initMoney;
    }

    public Long getInitMoney()
    {
        return initMoney;
    }
    public void setStaffId(Long staffId)
    {
        this.staffId = staffId;
    }

    public Long getStaffId()
    {
        return staffId;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("bak3", getBak3())
            .append("bak2", getBak2())
            .append("bak1", getBak1())
            .append("remark", getRemark())
            .append("xbTime", getXbTime())
            .append("sbTime", getSbTime())
            .append("remainingMoney", getRemainingMoney())
            .append("deliverMoney", getDeliverMoney())
            .append("initMoney", getInitMoney())
            .append("staffId", getStaffId())
            .append("id", getId())
            .toString();
    }
}
